package com.zero.zeroframe.ktx

import android.graphics.drawable.Drawable
import android.widget.TextView

/**
 * TextView相关扩展方法
 * @author zero
 * @since 2023/03/16
 */
fun TextView.setDrawableLeft(drawable: Drawable?) {
    drawable?:return
    setCompoundDrawablesRelativeWithIntrinsicBounds(drawable,null,null,null)
}
